package com.jiyun.pojo.vo;

import com.jiyun.pojo.entity.Order;
import com.jiyun.pojo.entity.User;

import java.util.Date;

public class OrderVo extends Order {
    private Integer statusid1;
    private String name;
    private String nickname;
    private User user;

    @Override
    public String toString() {
        return "OrderVo{" +
                "statusid1=" + statusid1 +
                ", name='" + name + '\'' +
                ", nickname='" + nickname + '\'' +
                ", user=" + user +
                '}';
    }

    public Integer getStatusid1() {
        return statusid1;
    }

    public void setStatusid1(Integer statusid1) {
        this.statusid1 = statusid1;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public OrderVo() {
    }

    public OrderVo(String ordername, String orderimage, Integer statusid, Integer userid, Integer ptid, Double amout, String ordertext, String estimate, Date billtime, Date ordertime, Date deliverytime, Integer auditstatus, String refused, String yuanyin) {
        super(ordername, orderimage, statusid, userid, ptid, amout, ordertext, estimate, billtime, ordertime, deliverytime, auditstatus, refused, yuanyin);
    }

    public OrderVo(Integer statusid1, String name, String nickname, User user) {
        this.statusid1 = statusid1;
        this.name = name;
        this.nickname = nickname;
        this.user = user;
    }

    public OrderVo(String ordername, String orderimage, Integer statusid, Integer userid, Integer ptid, Double amout, String ordertext, String estimate, Date billtime, Date ordertime, Date deliverytime, Integer auditstatus, String refused, String yuanyin, Integer statusid1, String name, String nickname, User user) {
        super(ordername, orderimage, statusid, userid, ptid, amout, ordertext, estimate, billtime, ordertime, deliverytime, auditstatus, refused, yuanyin);
        this.statusid1 = statusid1;
        this.name = name;
        this.nickname = nickname;
        this.user = user;
    }
}
